home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / windows / autcs101.zip / AUTOCIS.DOC next >
Text File  |  1992-11-14  |  26KB  |  516 lines

  1.  
  2.               █▀▀▀█  █    █  ▀▀▀█▀▀▀  █▀▀▀▀█  █▀▀▀▀█  █  █▀▀▀▀
  3.               █▄▄▄█  █    █     █     █    █  █       █  █▄▄▄▄
  4.               █   █  █    █     █     █    █  █    ▄  █      █
  5.               ▀   ▀  ▀▀▀▀▀▀     ▀     ▀▀▀▀▀▀  ▀▀▀▀▀▀  ▀  ▀▀▀▀▀
  6.                 Procomm for Windows 1.xx  Aspect(tm) Script
  7.  
  8.                                Version 1.0
  9.                         Released:  5 November 1992
  10.                        Written by Ralph E. Deitrick
  11.                         CompuServe UID  76547,3434
  12.  
  13.   ┌─────────────────────────────────────────────────────────────────────────┐
  14.   │                                                                         │
  15.   │        AutoCIS.WAS              AUTOMATIC COMPUSERVE OPERATION          │
  16.   │                                                                         │
  17.   │   An ASPECT script file for logging onto CompuServe via the local CIS   │
  18.   │   number which will then GO to a specific area, search for information  │
  19.   │   or UpLoad/DownLoad files that are defined ahead of time off line.     │
  20.   │   Up to five activities can be accomplished during one CIS session.     │
  21.   │                                                                         │
  22.   └─────────────────────────────────────────────────────────────────────────┘
  23.  
  24.  
  25.          AutoCIS is programmed in the ASPECT(tm) language supplied
  26.          with the Procomm for Windows communication program from
  27.          DataStorm.  Therefore, it is only possible for it to be
  28.          used with the Prowin program.
  29.  
  30.    INTRODUCTION:
  31.  
  32.          This program was initiated as a conversion of CISPLUS.ASP,
  33.          a script program developed for use with PCPLUS for DOS, but
  34.          almost complete reprogramming resulted due to significant
  35.          differences in the Aspect language.  Both CISPLUS and AUTOCIS
  36.          were developed for my personal use of CompuServe facilities,
  37.          primarily Mail amd Forum use.  AUTOCIS is oriented towards
  38.          the use of CompuServe facilities with the gateway to some
  39.          ZIFF Net services also being provided.  It is offered to the
  40.          PUBLIC DOMAIN in the hope that it will benefit others.  The
  41.          WAS file is included so that it may be altered by users for
  42.          their own specific needs, if desired.  It is recommended that
  43.          the original WAS file be retained unchanged so that recovery
  44.          is possible if necessary.  Results of any changes are the
  45.          complete responsibility of the user.
  46.  
  47.  
  48.    DESCRIPTION:
  49.  
  50.          This program provides menus similiar to those presented by the
  51.          CompuServe service so that selections can be made off line and
  52.          the mechanics of logging onto CompuServe, performing the task
  53.          specified and logging out of CompuServe are accomplished auto-
  54.          matically in order to minimize the online time.  In cases where
  55.          the exact procedure can not be specified, the program provides
  56.          entry to the area desired and then turns operation over to the
  57.          user.  The areas of automatic operation are as follows:
  58.  
  59.               *  Sending Mail contained in the Mail subdirectory.
  60.               *  Receiving waiting Mail into the Mail subdirectory.
  61.               *  Retrieve Forum messages into the Capture Log.
  62.               *  Prepare & send Forum messages stored in Logs Directory.
  63.               *  Uploading/downloading files from specified Forum Library.
  64.  
  65.          The script may also be specified in the Dialing Directory as a
  66.          means of automatically logging on and off of CompuServe.  The
  67.          program will provide entrance to the prompt at the end of the
  68.          CompuServe Top Menu.  After that point all commands must be
  69.          entered manually by the user.  When using this manual operation
  70.          mode, enter the  LOG<CR> command in order to exit CompuServe.
  71.          The program will automatically provide for hanging up the modem
  72.          and closing the Capture Log.
  73.  
  74.  
  75.    PROGRAM ORGANIZATION:
  76.  
  77.          The main control center of the program consists of a replacement
  78.          of the regular program menu bar including drop down menus for
  79.          the various activities within a given area.  The menu bar has
  80.          the following selections:
  81.  
  82.                     * Mail
  83.                     * CIS Forums
  84.                     * ZIFF Net
  85.                     * Setup   - required personal information and options.
  86.                     * Other   - Mulitple task definition for a CIS session.
  87.                               - Exiting the program with ability to abort.
  88.  
  89.          The following provides a description of each of these areas.
  90.  
  91.  
  92.    MAIL OPERATIONS:
  93.  
  94.          Send Text Mail- Sending of text letters consisting entirely
  95.               of ASCII characters uses the compose function of the
  96.               Mail menu since it is faster than performing a file
  97.               upload.  The letter should be written to the file
  98.               named LETTERS.OUT and contained in the Mail Directory
  99.               using the FAST.DOC method described later in this
  100.               document.
  101.  
  102.          Send Binary Mail- Any Binary files to be uploaded to Mail
  103.               must also be contained in the Mail Directory.  You
  104.               will be prompted for the filename, addressee name and
  105.               UID and the subject.  The CISB+ protocol is used for
  106.               uploading.
  107.  
  108.          Retrieve Mail- Regular ASCII text mail is scrolled to the
  109.               capture log and will have to be copied to a separate
  110.               file if retention as a specific filename is desired.
  111.               Binary mail is downloaded to a separate file in the
  112.               Mail Directory using the CISB+ protocol.  If a DOS
  113.               type filename is specified in the "Subject" of the
  114.               letter, the file will be saved under that filename.
  115.               Otherwise, the file will be named BINLTRxx, where xx
  116.               is the sequence number of the file.
  117.  
  118.          Rename letter- Any downloaded Binary mail having the BINLTRxx
  119.               filename should be changed immediately after a session
  120.               so that future Binary downloads will not overwrite it.
  121.  
  122.          Write/Edit letter- This function provides the Editor of
  123.               your choice to create or edit text type letters in
  124.               the LETTER.OUT file.  The FAST.DOC method, explained
  125.               in the later section, must be used for these text type
  126.               letters.
  127.  
  128.          View/Edit Capture Logs- This allows use of the Editor of
  129.               your choice to view or modify Capture Logs.
  130.  
  131.          If there is Mail waiting when CompuServe is entered via this
  132.          program, for any purpose, it will automatically be retrieved
  133.          providing you have the CompuServe default settings for Logon
  134.          set to notify.
  135.  
  136.          By checking the confirm mail pickup option of AUTOCIS, you
  137.          will be offered the opportunity to indicate whether or not
  138.          you want to pick up the mail.  The delete mail option defines
  139.          if the mail will be saved or deleted after retrieval.  The
  140.          program will then proceed with the originally defined task.
  141.  
  142.  
  143.    CIS FORUM OPERATIONS:
  144.  
  145.          Upon entering a Forum, for whatever reason, waiting messages
  146.          are immediately retrieved into the capture log before the
  147.          prescribed task is initiated.
  148.  
  149.          Forum messages being read will scroll across the screen very
  150.          rapidly while being stored in the capture Log.  CompuServe
  151.          will then be exited and you can review the messages off line
  152.          at your leisure.  Usually about 20 to 30 messages per minute
  153.          are retrieved by this method if using 2400 Baud.
  154.  
  155.          Forum selection- the popdown menu allows the selection of the
  156.               Forum desired.  When a Forum is selected, the Forum name
  157.               is checked against those contained in the file AUTOCIS.LST
  158.               which indicates those Forums to which you already belong.
  159.               When initially using the program, select Forums to which
  160.               you already belong and indicate that you want to join,
  161.               then cancel the Forum activity without going online.  When
  162.               all present Forums have been "joined", you may define a
  163.               task and continue to the CIS logon procedure.  Only new
  164.               Forums will now request whether or not you want to join.
  165.  
  166.               The list of Forums shown on the drop down menu can be
  167.               changed by revising the WAS script at lines 11 thru 16.
  168.               The "&" should be placed in front of the letter to be
  169.               used for keyboard activation.  Duplication of selected
  170.               letters in the menu is not permitted.  It is necessary
  171.               to revise lines 18 thru 23 with the shortened form for
  172.               the "GO" command.  The WAS file will then have to be
  173.               recompiled to get a new WAX file.  User Specified
  174.               Forums which are selected will be contained in the
  175.               AUTOCIS.LST and can be used for those that have less
  176.               frequent accesses.
  177.  
  178.          Section selection- a dialog box is presented for selection
  179.               of the section desired.  The choice of Messages or
  180.               Libraries will lead to dialog boxes to specify the
  181.               Activity desired.  Other sections provide for manual
  182.               operation so that desired choices can be made online.
  183.  
  184.               There is also a function which provides for creating
  185.               or editing the outgoing messages file for the Forum
  186.               selected.  Messages to be sent are contained in the
  187.               file named MESSAGES.ext and are contained in the
  188.               Capture Log Directory.  The extension is defined by
  189.               the first three letters of the Forum for which the
  190.               messages are intended, allowing message files for more
  191.               than one Forum.  When the message is written using this
  192.               dialog box selection, the proper extension required is
  193.               automatically added for the Forum you have indicated.
  194.  
  195.  
  196.    ZIFF Net OPERATIONS:
  197.  
  198.          The selection of any of the ZIFF Net Forums will lead to the
  199.          same dialog boxes for further selections are is provided for
  200.          the CIS Forums.
  201.  
  202.          SoftLib - Menus are displayed for the specialized operations
  203.               and provide definition of tasks in this very large Library.
  204.               Files downloaded from SoftLib will be located in the default
  205.               directory of Prowin (C:\PROWIN\DNLOAD) since Ziff Net has no
  206.               provision for specifying the directory to receive the file
  207.               being downloaded.
  208.  
  209.  
  210.    SETUP INFORMATION:
  211.  
  212.          A configuration file (AUTOCIS.CFG) is provided for storing
  213.          your personal information, specified Directories and your
  214.          choice of available program options.
  215.  
  216.               Personal information is:
  217.  
  218.                     Local CIS access phone number including any prefixes
  219.                     Your User ID number
  220.                     Your Password
  221.                     Baud rate you wish to use
  222.                     The error correction active message for your modem
  223.                     Your name as you want it to appear in Forums
  224.  
  225.               Directory information is:
  226.  
  227.                     Path and filename for Editor of your choice
  228.                     Mail subdirectory for your computer
  229.                     Files subdirectory for your computer
  230.                     Capture Log subdirectory for your computer
  231.  
  232.               Available program options are:
  233.  
  234.                     Display of program information at startup
  235.                     Deletion of downloaded mail
  236.                     Command mode operation (rather than Menu)
  237.                     Confirmation of dialing start
  238.                     Confirmation of mail pick up
  239.                     Delayed start of dialing time
  240.  
  241.          This configuration file should NOT be supplied to any person
  242.          to whom you might give a copy of this program.  The first time
  243.          the program is run the information required will be requested
  244.          by the program.  The Options will be set to default conditions
  245.          providing a safeguard until you are familiar with operation of
  246.          the program.
  247.  
  248.          If alterations are made at a later time, you may make the
  249.          changes temporary for the present program operation or, if
  250.          permanent is selected, the changes will be saved in the file.
  251.          If you change your Password at CompuServe using this program,
  252.          the configuration file is automatically updated provided the
  253.          change is successful.
  254.  
  255.  
  256.    OTHER OPERATIONS:
  257.  
  258.          This menu provides for Multiple Task definition and the means of
  259.          exiting the script program
  260.  
  261.          Multiple Task Definition - The use of Multiple Task definition
  262.               allows up to five separate operations to be performed during
  263.               one session on CompuServe.  This could consist of operations
  264.               on five different Forums, the performing of five tasks on a
  265.               single Forum or a some combination of both Forums and tasks.
  266.               Messages can be sent to each Forum, new messages can be
  267.               scrolled to the Capture log for reading offline, a list of
  268.               files can be uploaded to each Forum and a list of files can
  269.               be downloaded from each Forum.  The only limitations are
  270.               that ONLY one Forum can be "joined" during a single session
  271.               and any activity specifying manual operation MUST be the
  272.               LAST task.
  273.  
  274.          Restart Dialing - If either a single task or multiple tasks have
  275.               been defined and the log on to CompuServe was unsuccessful
  276.               (log on aborted), this selection can be used to begin a new
  277.               log on attempt at a later time for the same definition of
  278.               tasks PROVIDED the activity menus have NOT been accessed to
  279.               alter the task definition.
  280.  
  281.          Exit Script - This method of exiting the script should be used
  282.               (rather than clicking on the running man) in order for the
  283.               PROCOMM PLUS for Windows title to be restored at the top of
  284.               the screen.  This method also provides for aborting the exit
  285.               in case it is activated accidently or it is decided at the
  286.               last minute not to exit.
  287.  
  288.  
  289.    MODEM REQUIREMENTS:
  290.  
  291.          This program was written for use with an Error-Correcting
  292.          modem using MNP protocol which provides a  "/REL"  response
  293.          if a Reliable connection is achieved.  When using an error
  294.          correcting modem and specifying the conformation message in
  295.          the personal information setup, the logon will be aborted
  296.          if the "error correction active message" response is not
  297.          received.  This provides a means of guarrenteeing an error
  298.          correcting connection if such a condition is manditory.  CIS
  299.          provides MNP-4 service (error correction) but does not, at
  300.          present, provide MNP-5 service (data compression).
  301.  
  302.                 * * * * Modems with error correction * * * *
  303.  
  304.          Enter the response that YOUR MAKE of modem provides when
  305.          a Reliable connection is achieved with CompuServe in the
  306.          Configuration information you supply.  This should be a
  307.          message like  /REL or /ARQ.  In the event you do not know
  308.          what response your MNP modem gives, use this program to
  309.          call your local CompuServe number and then abort the call.
  310.          Review of the first line of the Capture log to obtain the
  311.          error correction confirmation message such as /REL, /ARQ
  312.          or LAPM and supply this in the appropriate location in the
  313.          personal data of the Setup.
  314.  
  315.          If you are using a high speed modem with Split Baud operation,
  316.          and the confirmation message for which this script is looking
  317.          is not shown, display of the message is usually obtainable by
  318.          setting the S95 modem register to an odd number (i.e. set bit 0).
  319.          For example, if S95=44, then set S95=45 and save in NVRAM with
  320.          the command AT&W <enter>.
  321.  
  322.          If no message can be established, leave the item BLANK, which
  323.          will mean you will not be sure if Error Correction is really
  324.          active.
  325.  
  326.                * * * * Modems without error correction * * * *
  327.  
  328.          To use this program with a modem which does not have error
  329.          correction, leave the conformation message data slot blank.
  330.  
  331.          ************************************************************
  332.          *                     W A R N I N G                        *
  333.          ************************************************************
  334.          *                                                          *
  335.          * Although precautions have been incorporated to protect   *
  336.          * the user in case any telephone line noise disrupts the   *
  337.          * command sequence, use of this program with a modem that  *
  338.          * does not have error correction is at the full  risk  of  *
  339.          * the user.  In the event line noise disrupts the command  *
  340.          * sequence, the program will revert to the manual mode and *
  341.          * the user will have to manually enter commands - or enter *
  342.          * LOG to exit the CompuServe service.  After disconnecting *
  343.          * it may be necessary to exit the script and restart it to *
  344.          * return to the main program selection buttons.            *
  345.          *    The amount of line noise can sometimes be reduced by  *
  346.          * switching to a lower Baud rate.                          *
  347.          *                                                          *
  348.          ************************************************************
  349.  
  350.  
  351.    CIS PROFILE SETTINGS:
  352.  
  353.          This Script assumes a Port Setting of N-8-1 as is used by
  354.          most BBS services.  CompuServe initially suggests using a
  355.          setting of E-7-1, but this is not necessary.  If you are
  356.          using a E-7-1 setting, log on to CompuServe and GO PROFILE
  357.          following the menu directions to permanently change your
  358.          terminal settings to Zero-8-1.  Then exit CompuServe and
  359.          change the value in your PROCOMM program Dialing Directory.
  360.  
  361.          In order for the automatic Mail pickup to work properly, it
  362.          is also necessary to have the selection of "Notify only" in
  363.          the Logon Options (rather than "Go to CompuServe Mail").
  364.  
  365.  
  366.    FILE LOCATION:
  367.  
  368.          The compiled Script file, AUTOCIS.WAX, should be located in
  369.          the Aspect script file subdirectory.  The AUTOCIS.CFG and
  370.          AUTOCIS.LST will also be located in this subdirectory when
  371.          they are generated.
  372.  
  373.  
  374.    LOG FILES:
  375.  
  376.          The program provides a log file that is started over on each
  377.          new day the program is used.  Multiple uses during any given
  378.          day are separated by a message that defines the time at which
  379.          logging onto CompuServe was initated.  Viewing the contents
  380.          of these logs is accomplished with your chosen editor so that
  381.          retrieved Forum messages can be edited to remove any messages
  382.          which are not of interest.
  383.  
  384.  
  385.    FAST.DOC MESSAGE PREPARATION:
  386.  
  387.          Preparation of messages to be sent to the Forum Message
  388.          Section and ASCII text letters to be sent to E-Mail use the
  389.          method which is described in FAST.DOC and FASDEM.TXT.  These
  390.          files are available in Library 1 of the PRACTICE FORUM and
  391.          Library 1 in the DataStorm Forum.  It is very _strongly_
  392.          recommended that these documents be obtained and reviewed
  393.          in order to fully understand use of this method.
  394.  
  395.          Forum messages --
  396.  
  397.               In order for the message to be posted properly it MUST
  398.               be formatted in the following manner with the commands
  399.               aligned with the left edge of the screen.
  400.  
  401.                 1) For replies:
  402.  
  403.                        REP {message number being replied to}
  404.                           ** Text of
  405.                           ***** message is
  406.                           ******** included here
  407.                        /POST
  408.  
  409.                 2) For original messages:
  410.  
  411.                        COM
  412.                           ** Text of
  413.                           ***** message is
  414.                           ******** included here
  415.                        /POST TO:{addressee} SUB:{message subject} SEC:{number}
  416.  
  417.               If more than one message is sent, the next REP or COM
  418.               must be on the next line after the /POST command --- do
  419.               NOT put a blank line between them.
  420.  
  421.  
  422.          Mail text letters --
  423.  
  424.               Mail text letters for uploading also use the FAST.DOC
  425.               method of preparation.  In order to send text letters
  426.               properly they MUST be formatted in the following manner
  427.               with the commands aligned with the left edge of the screen.
  428.               Notice that there is an added last line containing a Y
  429.               and that /SEND is required rather than the /POST used in
  430.               Forum messages.  It is also necessary to indicate the
  431.               addressee, sender and subject at the start of the letter.
  432.  
  433.                        COM
  434.                        TO:   {addressee with User ID number}
  435.                        FROM: {your name and User ID number}
  436.                        SUBJ: subject of the letter (needed by CompuServe)
  437.                           ** Text of
  438.                           ***** letter is
  439.                           ******** included here
  440.                        /SEND
  441.                        Y
  442.  
  443.               If several letters are to be sent, the next "COM" must
  444.               follow the "Y" on the next line (NO blank line between
  445.               them).
  446.  
  447.               If it is desired to retain a permanent copy of the Mail
  448.               file, it is recommended that the letter be written to a
  449.               file with its own specific filename.  The letter can be
  450.               copied to the LETTERS.OUT file and the COM, /SEND and Y
  451.               commands can then be added.
  452.  
  453.  
  454.    USE OF COMMAND MODE:
  455.  
  456.          The use of the Command mode while performing tasks in a Forum
  457.          will reduce the amount of on-line time, since display of the
  458.          menus is not provided.  If you are not familiar with this mode
  459.          be forewarned that if anything goes astray and a switch to the
  460.          manual mode is required, you will not have the advantage of a
  461.          menu to indicate your choices.  The prompts consist of just
  462.          showing "Forum !" or "Messages !" and you must know how to enter
  463.          required commands without the benefit of a menu.  If you use this
  464.          method and are not familiar with commands, it is recommended that
  465.          you immediately enter "LOG" to leave CompuServe if manual inputs
  466.          become necessary.
  467.  
  468.  
  469.    SUSPENDED DIALING:
  470.  
  471.          The Option contained in the Set Configuration to delay dialing
  472.          allows for defining the desired tasks to perform in the late
  473.          evening (say 11:00pm) and delay the dialing to go to CompuServe
  474.          until early morning (say 4:30am).
  475.  
  476.          Once the Delayed Dialing Option has been turned on, when it is
  477.          time for the program to logon to CompuServe a window will appear
  478.          permitting the definition of the time logon should be initiated.
  479.          The time to start dialing MUST be expressed in Military format
  480.          (24 hour clock).  If you do not want to delay dialing for any
  481.          particular logon, just press <enter> and indicate in the next
  482.          window that logon should be immediate.
  483.  
  484.  
  485.               **********          **********          **********
  486.  
  487.          I hope this program will enhance your ease of using CompuServe.
  488.          Every attempt has been made to assure the program to be error
  489.          free.  However, there is no warranty of any kind given, either
  490.          implied or otherwise, and the author assumes no liability for
  491.          any problems or damages of any kind resulting from use of this
  492.          program.  Comments, questions or suggestions are welcome and
  493.          may be sent via CompuServe to Ralph Deitrick [76547,3434].
  494.  
  495.    ==========================================================================
  496.  
  497.                       HISTORY of CHANGES to AUTOCIS
  498.                       ═════════════════════════════
  499.  
  500.    Original release of AUTOCIS Script file  -- 5 Noverber 1992
  501.  
  502.    Version 1.01       released  ? ???????? ????
  503.  
  504.           * removed duplicate no paging command in ForumRun.
  505.           * provided immediate updating of Setup menus when data is changed
  506.                by user input.
  507.           * added "press <CR> for all" to Library Age request in Forum and
  508.                corrected "success" to "failure".
  509.           * added check on whether user input had added a trailing "\" to
  510.                the definition of User defined Directories.
  511.           * changed when target in logon procedure to avoid aborting due
  512.                to Compression "NONE" rather than Protocol "NONE".
  513.           * incorporated additional information in AUTOCIS.DOC regarding
  514.                the use of Delayed Dialing.
  515.  
  516.